package com.stg.bean;

import java.io.Serializable;
import java.util.Date;

import org.springframework.stereotype.Component;
/**
 * 
 * @author Ahui
 * 活动对象属性
 */
@Component
public class Activity implements Serializable{

	private static final long serialVersionUID = -6659363457889801655L;
	
	private Long id;
	
	private String name;	//活动名称
	
	private String belong1;	//活动主办方1
	
	private String belong2;	//活动主办方2
	
	private String belong3;	//活动主办方3
	
	private Date startTime;	//活动开始时间
	
	private Date endTime;	//活动结束时间
	
	private int rank;		//活动等级
	
	private String place;	//活动地点
	
	private int status;		//当前状态：0.未知；1.未开始；2.准备阶段；3.正在进行；4.结束阶段；5.已结束；6.已作废
	
	private String participatingUnits;	//参加单位
	
	private int is_del;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getBelong1() {
		return belong1;
	}

	public void setBelong1(String belong1) {
		this.belong1 = belong1;
	}

	public String getBelong2() {
		return belong2;
	}

	public void setBelong2(String belong2) {
		this.belong2 = belong2;
	}

	public String getBelong3() {
		return belong3;
	}

	public void setBelong3(String belong3) {
		this.belong3 = belong3;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public int getRank() {
		return rank;
	}

	public void setRank(int rank) {
		this.rank = rank;
	}

	public String getPlace() {
		return place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getParticipatingUnits() {
		return participatingUnits;
	}

	public void setParticipatingUnits(String participatingUnits) {
		this.participatingUnits = participatingUnits;
	}

	public int getIs_del() {
		return is_del;
	}

	public void setIs_del(int is_del) {
		this.is_del = is_del;
	}

	@Override
	public String toString() {
		return "Activity [id=" + id + ", name=" + name + ", belong1=" + belong1
				+ ", belong2=" + belong2 + ", belong3=" + belong3
				+ ", startTime=" + startTime + ", endTime=" + endTime
				+ ", rank=" + rank + ", place=" + place + ", status=" + status
				+ ", participatingUnits=" + participatingUnits + ", is_del="
				+ is_del + "]";
	}
}
